<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta name = "viewport" content = "width=device-width, intial-scale = 1.0" />
	<link rel = "stylesheet" href = "./css/style.css" />
	
	<title>나를 찾아줘...</title>

</head>
<body class = "body">
	<% request.setCharacterEncoding("utf-8"); %>
	<%
 		String inc = request.getParameter("inc");
 		if(inc == null){
 			inc = "./mainContent.jsp";
 		}
 		
	%>

	<!-- 메인화면 상단 -->
	<header class = "mainHeader" >

		<!-- 메인화면 탑 부븐이 들어갈 위치 -->
		<div id = 'title'>
		
			<!-- 타이틀 호출 -->
		<%
			if(session.getAttribute("sessionMid") == null){

				%><%@ include file = "indexTitle.jsp" %><%	
			}else{
				
				%><%@ include file = "indexTitle2.jsp" %><%
			}
		%>		
		</div>
		
		
		
		
		<!-- 메뉴바 -->
		<nav><ul>
			<li <%if(inc.contains("FmBoard")){%>class = "active"<%}%>><a href = "index.jsp?inc=./FmBoard/bList.jsp">나를 찾아줘</a></li>
			<li <%if(inc.contains("one")){%>class = "active"<%}%>><a href = "index.jsp?inc=./one/list.jsp">아이들에게 한마디</a></li>
			<li><a href = "#">Portfolio</a></li>
			<li><a href = "#">Contact</a></li>
		</ul></nav>
		
	</header>
	
	
	
	
	<!-- 메인화면 중앙 -->
	<div class = "mainContent">
		
		<!-- 메인 콘텐츠가 들어갈 위치 -->
		<div id = 'content'>
			
			<!-- 콘텐츠 호출 -->
			
			<jsp:include page = '<%=inc%>'/>
			
		</div>
		
	</div>



	<footer class = "mainFooter">
 		<nav>
			<a href = "http://www.animal.go.kr/"><img src = "./img/banner1.png" /></a>
			<a href = "http://www.koreananimals.or.kr/"><img src = "./img/banner2.png" /></a>
			<a href = "http://www.fromcare.org/main/"><img src = "./img/banner3.png" /></a>
			<a href = "http://www.akca.co.kr/xe/"><img src = "./img/banner4.png" /></a>
			<a href = "http://petmd.vitaminmd.co.kr/index.jsp"><img src = "./img/banner5.png" /></a>
		</nav>
		<p>Copyright &copy; <a href ="./index.jsp" title = "Find Me">Team1_FindMe.com</a></p>
	</footer>
	
	
</body>
</html>